setShowBadge

@NonNull
open fun setShowBadge(showBadge: Boolean): @NonNull NotificationChannelCompat.Builder(source)

Sets whether notifications posted to this channel can appear as application icon badges in a Launcher. Only modifiable before the channel is submitted to createNotificationChannel.

Parameters

showBadge

true if badges should be allowed to be shown.